package com.panshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资讯、问题评论表
 * </p>
 *
 * @author xhlMr
 * @since 2020-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AppCommentT对象", description="资讯、问题评论表")
public class AppCommentT implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父级用户id")
    private Integer coverUserId;

    @ApiModelProperty(value = "评论用户id")
    private Integer userId;

    @ApiModelProperty(value = "评论id(类型: 资讯/问题)")
    private Integer commentId;

    @ApiModelProperty(value = "评论类型 zx资讯; m 问题")
    private String commentType;

    @ApiModelProperty(value = "评论内容")
    private String commentContent;

    @ApiModelProperty(value = "评论等级: 1级; 2级; 3其他等级")
    private String commentGrade;

    @ApiModelProperty(value = "状态: 0草稿, 1上架, 2审核中; 3未通过审核")
    private String commentStatus;

    @ApiModelProperty(value = "是否删除: 1是; 0否")
    private Integer isRemove;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "上架时间")
    private Date groundTime;

    @ApiModelProperty(value = "审核时间")
    private Date checkTime;

    @ApiModelProperty(value = "删除时间")
    private Date removeTime;


}
